<template>
  <div>
    <h2>这是user组件</h2>
    <router-view></router-view>
    <hr>
    <UserDetail id="1999" name="zdy" age="90"></UserDetail>
  </div>
</template>

<script>
    import UserDetail from "./UserDetail.vue"
    export default {
        name: "user",
        components:{
          UserDetail
        }
    }
</script>

<style scoped>

</style>
